<!-- This page displays the previous edit version and all the edit versions of the tutorial as well-->

#{extends 'main.html' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<p>Previous Edit Version</p>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Previous Edit Version</title>
</head>
<body>
	${version1.Title.raw()}
	<br>
	<br> ${version1.content.raw()}
	<br>
	<br> ${version1.Stringofwords.raw()}

	<form action="@{Tutorials.contEditTutorial()}" method="post">
		<input style="display: none;" name="tutorialId" value="${edit.id}" />
		<input style="display: none;" name="versionId" value="${version1.id}" />
		<input type="submit" value="Continue Editing This Tutorial">
	</form>
	<form action="@{Tutorials.tutorialPage()}" method="post">
		<input style="display: none;" name="tutId" value="${tutorial.id}" />
		<input type="submit" value="Back to the Tutorial Page" />
	</form>
</body>
</html>